function validator (events, context) {
    return Object.keys(events).every(key => context.validKeys.includes(key))
}

module.exports = {
    validator
}
